
package com.fx.apartment.modules.activity.service.impl;

import com.fx.apartment.common.base.BaseServiceImpl;
import com.fx.apartment.modules.activity.entity.Activity;
import com.fx.apartment.modules.activity.vo.ActivityVO;
import com.fx.apartment.modules.activity.mapper.ActivityMapper;
import com.fx.apartment.modules.activity.service.IActivityService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 活动设置 服务实现类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
@Service
public class ActivityServiceImpl extends BaseServiceImpl<ActivityMapper, Activity> implements IActivityService {

	@Override
	public IPage<ActivityVO> selectActivityPage(IPage<ActivityVO> page, ActivityVO activity) {
		return page.setRecords(baseMapper.selectActivityPage(page, activity));
	}

}
